package com.ruoyi.abuwx.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 题库单选题对象 abuwx_question_choice
 * 
 * @author tang
 * @date 2022-07-02
 */
public class AbuwxQuestionChoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题目ID */
    private Long id;

    /** 题库ID */
    @Excel(name = "题库ID")
    private Long questionId;

    /** 题库名称 */
    @Excel(name = "题库名称")
    private String questioneName;

    /** 题目问题 */
    @Excel(name = "题目问题")
    private String issue;

    /** A选项 */
    @Excel(name = "A选项")
    private String option1;

    /** B选项 */
    @Excel(name = "B选项")
    private String option2;

    /** C选项 */
    @Excel(name = "C选项")
    private String option3;

    /** D选项 */
    @Excel(name = "D选项")
    private String option4;

    /** E选项 */
    @Excel(name = "E选项")
    private String option5;

    /** F选项 */
    @Excel(name = "F选项")
    private String option6;

    /** G选项 */
    @Excel(name = "G选项")
    private String option7;

    /** 题目类型 */
    @Excel(name = "题目类型")
    private Integer issueType;

    /** 答案 */
    @Excel(name = "答案")
    private String answer;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuestionId(Long questionId) 
    {
        this.questionId = questionId;
    }

    public Long getQuestionId() 
    {
        return questionId;
    }
    public void setQuestioneName(String questioneName) 
    {
        this.questioneName = questioneName;
    }

    public String getQuestioneName() 
    {
        return questioneName;
    }
    public void setIssue(String issue) 
    {
        this.issue = issue;
    }

    public String getIssue() 
    {
        return issue;
    }
    public void setOption1(String option1) 
    {
        this.option1 = option1;
    }

    public String getOption1() 
    {
        return option1;
    }
    public void setOption2(String option2) 
    {
        this.option2 = option2;
    }

    public String getOption2() 
    {
        return option2;
    }
    public void setOption3(String option3) 
    {
        this.option3 = option3;
    }

    public String getOption3() 
    {
        return option3;
    }
    public void setOption4(String option4) 
    {
        this.option4 = option4;
    }

    public String getOption4() 
    {
        return option4;
    }
    public void setOption5(String option5) 
    {
        this.option5 = option5;
    }

    public String getOption5() 
    {
        return option5;
    }
    public void setOption6(String option6) 
    {
        this.option6 = option6;
    }

    public String getOption6() 
    {
        return option6;
    }
    public void setOption7(String option7) 
    {
        this.option7 = option7;
    }

    public String getOption7() 
    {
        return option7;
    }
    public void setIssueType(Integer issueType) 
    {
        this.issueType = issueType;
    }

    public Integer getIssueType() 
    {
        return issueType;
    }
    public void setAnswer(String answer)
    {
        this.answer = answer;
    }

    public String getAnswer()
    {
        return answer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionId", getQuestionId())
            .append("questioneName", getQuestioneName())
            .append("issue", getIssue())
            .append("option1", getOption1())
            .append("option2", getOption2())
            .append("option3", getOption3())
            .append("option4", getOption4())
            .append("option5", getOption5())
            .append("option6", getOption6())
            .append("option7", getOption7())
            .append("issueType", getIssueType())
            .append("answer", getAnswer())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
